package cn.carlos.jiatu.protocol.vo;

import cn.carlos.jiatu.protocol.entity.Order;
import lombok.Data;

import java.util.List;

/**
 * @ClassName ResultVO
 * @Description TODO
 * @Author Carlos
 * @Date 2023/11/2 11:55
 * @Version 1.0
 */
@Data
public class ResultVO {
    private int code;
    private String message;
    private List<Order> data;

    public ResultVO(int code,String message){
        this.code = code;
        this.message = message;
    }

    public ResultVO(int code, String message, List<Order> data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
